;$VER: html4inc 1.0 (29.01.95)
;©1995 Stefan Le Breton
;makes "index.html" files for includes
;needs a working "pipe" command...
set _mchar ||
echo "*nIncludes V40*n*n*nIncludes V40
*n" || list dirs lformat "- %n/" || echo "
*n" >index.html
;"%n" can't be protected, but "$" is protectable
set PercentN %n
;actually I also wanted to use "||", but it seemed, that this doesn't always work.
list dirs lformat "cd %f%n *necho *"Includes V40: %nIncludes V40: %n
*" >index.html*nlist #?.h files lformat *"- *$PercentN*" >>index.html*necho *"
*" >>index.html" >t:html.$$
echo "cd `cd`" >>t:html.$$
execute T:html.$$
delete T:html.$$ FORCE QUIET